package com.pattern.structure.composite;

/**
 * @author yangguanzan
 * @date 7/3/22
 * @description
 */
public interface IBranch extends ICorp{

    void add(ICorp node);

    void remove(ICorp node);

    ICorp getChild(int i);
}
